package com.atguigu.zuoye2;


/**
 * @Description: 第四题
 * @Author: Hank
 * @Date: 2025/2/11 16:34
 */

public class Rectangle1 {
    private Long width;
    private Long height;

    public Rectangle1(Long width, Long height) {
        this.width = width;
        this.height = height;
    }

    public Long getArea(){
        return width * height;
    }

    public Long getWidth() {
        return width;
    }

    public void setWidth(Long width) {
        this.width = width;
    }

    public Long getHeight() {
        return height;
    }

    public void setHeight(Long height) {
        this.height = height;
    }
}
